package com.dog.basics.bean.dto.admin.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @description: 意见处理
 * @author: He
 * @date: Created in 2020/5/22 17:23
 * @version: 1.0
 * @modified By:
 */
@Data
@ApiModel(value = "意见处理")
public class PcFeedbackHandleDto {

    /**
     * 意见标识
     */
    @ApiModelProperty(value = "意见标识", dataType = "Long",required = true)
    @NotNull(message = "意见标识不能为空")
    private Long id;

    /**
     * 查阅处理状态
     */
    @ApiModelProperty(value = "查阅受理状态 :2:需要处理 3:已处理", dataType = "int")
    @NotNull(message = "处理状态不能为空")
    @Min(value = 1,message = "受理状态选择不符")
    @Max(value = 3,message = "受理状态选择不符")
    private Integer feedbackState;

}